package xcmg.device.dao.mapper.agent;

import org.apache.ibatis.annotations.Mapper;
import xcmg.device.dao.entity.agent.ServiceBorrowingDO;
import xcmg.device.service.vo.agent.ServiceBorrowingVO;

import java.util.List;

/**
 * 服务人员借用零件表
 * 
 * @author Xcs
 * @email 666@168.com
 * @date 2019-04-29 09:34:52
 */
@Mapper
public interface ServiceBorrowingMapper {

    ServiceBorrowingDO item(String id);

    List<ServiceBorrowingDO> list(ServiceBorrowingVO condition);

    int insert(ServiceBorrowingDO serviceBorrowingDO);

    int update(ServiceBorrowingDO serviceBorrowingDO);

    int delete(String id);

    List<ServiceBorrowingDO> totalAmountList(ServiceBorrowingVO condition);

}
